package cn.csdj.sism.service;

import cn.csdj.sism.pojo.Accommodation;
import cn.csdj.sism.pojo.Adultexam;

import java.util.List;

/**
 * Adultexam业务层
 * @author 夏锦红
 * 2023/4/7
 */
public interface AdultexamService {
    /**
     * 添加
     * @param adultexam
     * @return
     */
    public int insert(Adultexam adultexam);

    /**
     * 按id删除
     * @param id
     * @return
     */
    public int deleteById(Integer id);

    /**
     * 修改
     * @param adultexam
     * @return
     */
    public int update(Adultexam adultexam);

    /**
     * 按id查询
     * @param id
     * @return
     */
    public Adultexam selectById(Integer id);

    /**
     * 查询全部
     * @return
     */
    public List<Adultexam> selectAll();
}
